<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>
	
	<%
		
		String courseID=request.getParameter("courseID");
		
		String sql="delete from sys_course where courseID=?";
		
		Connection conn=getConn();
		
		PreparedStatement pstmt=conn.prepareStatement(sql);
		
		int parameterIndex=1;
		pstmt.setString(parameterIndex,courseID);
		
		int count=pstmt.executeUpdate();
		
		close(pstmt,conn);
		
		process(request,response,"course_list.jsp");
	
	%>